export class Config{
  static CARDS_PER_ROW = 5;
  static CARDS_PER_COL = 7;
  static GAME_WIDTH = 800;
  static GAME_HEIGHT = 600;
  static CARD_WIDTH = 0;
  static CARD_HEIGHT = 0;

  static SCROLL_TIMER = 4200;
  static DROP_DOWN_TIMER = 1200;
  static GAP_TIMER = 200;
  static CHOOSE_TIMER = 2000;

  static DATA_URL = "./data.txt"

  static init(w, h) {
    Config.GAME_WIDTH  = w;
    Config.GAME_HEIGHT = h;
    Config.CARD_WIDTH = Config.GAME_WIDTH / Config.CARDS_PER_ROW
    Config.CARD_HEIGHT = Config.GAME_HEIGHT / Config.CARDS_PER_COL
  }
}